package com.moji.service;

import com.moji.common.entity.MyPage;
import com.moji.entity.MjNews;
import com.moji.entity.MjOpinion;
import com.baomidou.mybatisplus.extension.service.IService;
import com.moji.entity.dto.QueryNewsDto;
import com.moji.entity.dto.QueryOpinionDto;

/**
 * <p>
 * 意见反馈表 服务类
 * </p>
 *
 * @author ccl
 * @since 2024-07-28
 */
public interface MjOpinionService extends IService<MjOpinion> {

    /** 分页查询 **/
    MyPage<MjOpinion> queryByPage(QueryOpinionDto dto);

    /** 删除 **/
    boolean delete(Long id);

    /** 新增 **/
    boolean add(MjOpinion mjOpinion);

    /** 编辑 **/
    boolean edit(MjOpinion mjOpinion);

    /** 详情 **/
    MjOpinion detail(Long id);
}
